import service from "@/utils/index";

// json形式
const options = {
  header: { contentType: "application/json" },
};

/**
 * @method 测试接口
 */
export function login(data: any) {
  return service.post("/admin/login", data);
}

// 获取 顶banner和轮播banner 的接口
export const getBanner = (data: any) => {
  return service.get("/api/h5/advert/list", data);
};
